package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.example.model.entity.ProductOrderDO;

import java.util.List;

/**
 * @author shenguangyang
 */
public interface ProductOrderMapper extends BaseMapper<ProductOrderDO> {
    @Select("select * from product_order o left join product_order_item i on o.id = i.product_order_id")
    List<Object> listProductOrderDetail();
}
